﻿using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
using System.Security.Claims;


namespace ApiServer.Utilitys.Filters
{
    /// <summary>
    /// 全局保存日志
    /// </summary>
    public class CustomLog4ActionFilterAttribute : Attribute, IActionFilter
    {

        private readonly ILogger<CustomLog4ActionFilterAttribute> _logger;

        /// <summary>
        /// 
        /// </summary>
        /// <param name="logger"></param>
        public CustomLog4ActionFilterAttribute(ILogger<CustomLog4ActionFilterAttribute> logger)
        {
            _logger = logger;
        }

        public void OnActionExecuted(ActionExecutedContext context)
        {
           
        }

        public void OnActionExecuting(ActionExecutingContext context)
        {
            
        }
    }
}
